{{csrf_field()}}
<div  class="layui-form">

    <div class="layui-form-item">
        <label class="layui-form-label">门店名称：</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="{{$info->name ?? ''}}" lay-verify="required"  lay-reqText="用户名必填"placeholder="请输入用户名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">门店logo</label>
        <div class="layui-input-block">
            <input type="text" name="logo"   value="{{$info->logo ?? old('logo')}}" autocomplete="off" placeholder="" class="layui-input ">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系人：</label>
        <div class="layui-input-block">
            <input type="text" name="linkman" value="{{$info->linkman ?? ''}}"   placeholder="请输入联系人" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系电话：</label>
        <div class="layui-input-block">
            <input type="text" name="mobile" value="{{$info->mobile ?? ''}}"  placeholder="输入联系电话" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">营业时间 ：</label>
        <div class="layui-input-block">
            <input type="text" name="password" value="{{$info->password ?? ''}}"  placeholder="输入密码" autocomplete="off" class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">门店区域：</label>
        <div class="layui-input-block">
            <input type="text" name="mobile" value="{{$info->mobile ?? ''}}"  placeholder="输入手机" autocomplete="off" class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">详细地址</label>
        <div class="layui-input-block">
            <input type="text" name="birthday"   value="{{$info->birthday ?? old('birthday')}}" autocomplete="off" placeholder=""  class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">门店简介</label>
        <div class="layui-input-block">
            <textarea placeholder="门店简介" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="checkbox" value="1" checked="" name="status" lay-skin="switch" lay-filter="switchTest" lay-text="正常|停用">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="post-submit" lay-submit>保 存</button>
        </div>
    </div>
  </div>
@section('script')
    <link rel="stylesheet" href="{{ asset('static/admin/css/formSelects-v4.css') }}">
    <script>
        layui.use(['layer', 'form','jquery','formSelects','laydate'], function(){
            var layer = layui.layer,
                form =layui.form,
                laydate=layui.laydate,
                $  = layui.jquery;

            laydate.render({
                elem: '#date' //指定元素
            });
            //监听提交
            form.on('submit(post-submit)', function(data){

            });
        });
    </script>
@endsection